import MyEditer from "./view/editor/MyEditer"

MyEditer.install = function (Vue) {
  Vue.component(MyEditer.name, MyEditer)
}

// auto install
if(typeof window !== "undefined" && window.Vue) {
  MyEditer.install(window.Vue);
}

export default MyEditer

// export default Object.assign(MindEditor, {install});   // eslint-disable-line no-undef

